package com.guanjialhx.pojo;

import lombok.Data;

/**
 * @author 邓昕劼
 * @version 1.3
 */
@Data
public class Teacher {
    private String name;
    private String sfz;
    private String phone;
    private String openid;

    public Teacher(String name, String sfz, String phone, String openid) {
        this.name = name;
        this.sfz = sfz;
        this.phone = phone;
        this.openid = openid;
    }

    @Override
    public String toString() {
        String result1 = name.replace("\"", "").replace("[", "").replace("]", "");
        String result2 = sfz.replace("\"", "").replace("[", "").replace("]", "");
        String result3 = phone.replace("\"", "").replace("[", "").replace("]", "");
        String result4 = openid.replace("\"", "").replace("[", "").replace("]", "");
        return "Teacher(name=" + result1 + ", sfz=" + result2 + ", phone=" + result3 + ", openid=" + result4 + ")";
    }
}
